home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_d / dacm.zip / DEMO / UNIT1.DFM / UNIT1.txt
Text File  |  1995-12-12  |  15KB  |  551 lines

  1. object Form1: TForm1
  2.   Left = 28
  3.   Top = 54
  4.   Width = 578
  5.   Height = 403
  6.   Caption = 'Form1'
  7.   Font.Color = clWindowText
  8.   Font.Height = -13
  9.   Font.Name = 'System'
  10.   Font.Style = []
  11.   PixelsPerInch = 96
  12.   Position = poScreenCenter
  13.   TextHeight = 16
  14.   object TabbedNotebook1: TTabbedNotebook
  15.     Left = 0
  16.     Top = 0
  17.     Width = 570
  18.     Height = 350
  19.     Align = alClient
  20.     Font.Color = clYellow
  21.     Font.Height = -13
  22.     Font.Name = 'Times New Roman'
  23.     Font.Style = []
  24.     TabsPerRow = 5
  25.     TabFont.Color = clBtnText
  26.     TabFont.Height = -11
  27.     TabFont.Name = 'MS Sans Serif'
  28.     TabFont.Style = []
  29.     TabOrder = 0
  30.     object TTabPage
  31.       Left = 5
  32.       Top = 26
  33.       Caption = 'DACM'
  34.       object Label1: TLabel
  35.         Left = 8
  36.         Top = 8
  37.         Width = 545
  38.         Height = 64
  39.         Alignment = taCenter
  40.         Caption = 'The Database Access Control Manager v2.0'
  41.         Font.Color = clMaroon
  42.         Font.Height = -27
  43.         Font.Name = 'Arial'
  44.         Font.Style = [fsBold]
  45.         ParentFont = False
  46.         WordWrap = True
  47.       end
  48.       object Memo1: TMemo
  49.         Left = 8
  50.         Top = 73
  51.         Width = 545
  52.         Height = 232
  53.         Font.Color = clBlack
  54.         Font.Height = -13
  55.         Font.Name = 'MS Sans Serif'
  56.         Font.Style = []
  57.         Lines.Strings = (
  58.           
  59.             'The DACM is a complete database security package providing an MS' +
  60.             ' Access '
  61.           
  62.             'style security model covering User logon, Access control and Sys' +
  63.             'tem '
  64.           'maintenance all in one delphi DCU.'
  65.           ''
  66.           
  67.             'It includes Users, User Groups, Security Objects (forms/ db'#39's/ o' +
  68.             'bjects) and '
  69.           'permissions.'
  70.           ''
  71.           
  72.             'Anything can be protected by DACM, from  an individual control t' +
  73.             'o a form, from a '
  74.           'menu item to a report. '
  75.           ''
  76.           
  77.             'DACM supports a single unified LogOn to other applications or SQ' +
  78.             'L servers that '
  79.           
  80.             'is you can LogOn to your SQL Server or Mail System and simultane' +
  81.             'ously LogOn '
  82.           
  83.             'to DACM using the same UserName and PIN, without needing to go t' +
  84.             'hrough '
  85.           'another LogOn dialog.'
  86.           ''
  87.           
  88.             'PIN changes can be administered either centraly by an administra' +
  89.             'tor or by '
  90.           'Users (set by design time option).'
  91.           ''
  92.           
  93.             'A Users Permissions are all inheritable that is your permissions' +
  94.             ' for an object are '
  95.           
  96.             'the sum of all permissions you may have from being the member of' +
  97.             ' different '
  98.           
  99.             'groups, you may belong to a group with read access and to anothe' +
  100.             'r with modify '
  101.           'access, your permissisions will be Read+Modify.'
  102.           ''
  103.           
  104.             'Numerous events enable you to track and record all security acti' +
  105.             'vities from a '
  106.           
  107.             'User LoggingOn to changes being made by administrators to Securi' +
  108.             'ty Profile'#39's.'
  109.           ''
  110.           
  111.             'All data is stored in a single table, usualy a Paradox db but ca' +
  112.             'n be of any type '
  113.           'compatible with the BDE including SQL Tables.'
  114.           ''
  115.           
  116.             'A security record is identified by/to your application by a Syst' +
  117.             'emID (SID), a '
  118.           
  119.             'string of up to 50 chars,(for a User this is PIN(20)+Name(30), f' +
  120.             'or Groups it is a nil '
  121.           
  122.             '(actually irrelevant for Groups as they are NEVER accessed by th' +
  123.             'ere SID) and '
  124.           'for an Object '
  125.           ''
  126.           
  127.             'Internally DACM identifies all objects by  an ObjectID (OID) a 4' +
  128.             ' byte code '
  129.           'assigned by DACM.'
  130.           ''
  131.           
  132.             'The ObjectList (OList) is a list of OID'#39's of groups a user has a' +
  133.             'ccess to or groups '
  134.           
  135.             'an object has granted acces rights to, permissions determine the' +
  136.             ' level of that '
  137.           'access.'
  138.           ''
  139.           
  140.             'Only the SID is stored encrypted, however the CHK field holds a ' +
  141.             'checksum that '
  142.           'is verified to ensure the record has not been tampered with.'
  143.           ''
  144.           
  145.             'If it is a Paradox Table the Table can further be Password prote' +
  146.             'cted.')
  147.         ParentFont = False
  148.         ReadOnly = True
  149.         ScrollBars = ssVertical
  150.         TabOrder = 0
  151.       end
  152.     end
  153.     object TTabPage
  154.       Left = 5
  155.       Top = 26
  156.       Caption = 'Whats New in 2.0'
  157.       object Label12: TLabel
  158.         Left = 8
  159.         Top = 64
  160.         Width = 385
  161.         Height = 33
  162.         Caption = 
  163.           'Increased Limit'#39's, each User can belong to an unlimited number o' +
  164.           'f  groups, each object can grant access to an unlimited number g' +
  165.           'roups'
  166.         Font.Color = clYellow
  167.         Font.Height = -13
  168.         Font.Name = 'Times New Roman'
  169.         Font.Style = []
  170.         ParentFont = False
  171.         WordWrap = True
  172.       end
  173.       object Label13: TLabel
  174.         Left = 8
  175.         Top = 112
  176.         Width = 497
  177.         Height = 33
  178.         AutoSize = False
  179.         Caption = 
  180.           'New global security object and variable "Security", allows easy ' +
  181.           'access to security functions ie "Security.LogOn"'
  182.         Font.Color = clYellow
  183.         Font.Height = -13
  184.         Font.Name = 'Times New Roman'
  185.         Font.Style = []
  186.         ParentFont = False
  187.       end
  188.       object Label14: TLabel
  189.         Left = 8
  190.         Top = 160
  191.         Width = 369
  192.         Height = 33
  193.         Caption = 
  194.           'New TPermissions type makes checking security permissions simple' +
  195.           'r ie "if pModify in Permissions then..."'
  196.         Font.Color = clYellow
  197.         Font.Height = -13
  198.         Font.Name = 'Times New Roman'
  199.         Font.Style = []
  200.         ParentFont = False
  201.         WordWrap = True
  202.       end
  203.       object Label15: TLabel
  204.         Left = 8
  205.         Top = 32
  206.         Width = 466
  207.         Height = 15
  208.         Caption = 
  209.           'Support for SQL databases and a single unified logon to DACM and' +
  210.           ' other applications.'
  211.         Font.Color = clYellow
  212.         Font.Height = -13
  213.         Font.Name = 'Times New Roman'
  214.         Font.Style = []
  215.         ParentFont = False
  216.       end
  217.       object Label16: TLabel
  218.         Left = 8
  219.         Top = 208
  220.         Width = 463
  221.         Height = 30
  222.         Caption = 
  223.           'New Component TSecurityObject simplyfies the protecting of forms' +
  224.           ' and other objects. ie  "if pReadOnly in SO1.Permissions then Na' +
  225.           'vBtn1.Enabled=false"'
  226.         Font.Color = clYellow
  227.         Font.Height = -13
  228.         Font.Name = 'Times New Roman'
  229.         Font.Style = []
  230.         ParentFont = False
  231.         WordWrap = True
  232.       end
  233.       object Label17: TLabel
  234.         Left = 8
  235.         Top = 248
  236.         Width = 493
  237.         Height = 45
  238.         Caption = 
  239.           'New Events allow you to track all activities in the security sys' +
  240.           'tem from LogOn to Permission Checks, easier access to the securi' +
  241.           'ty table whilst improving the security of the table against unau' +
  242.           'thorised access.'
  243.         Font.Color = clYellow
  244.         Font.Height = -13
  245.         Font.Name = 'Times New Roman'
  246.         Font.Style = []
  247.         ParentFont = False
  248.         WordWrap = True
  249.       end
  250.     end
  251.     object TTabPage
  252.       Left = 5
  253.       Top = 26
  254.       Caption = 'User Interface'
  255.       object Label2: TLabel
  256.         Left = 128
  257.         Top = 16
  258.         Width = 259
  259.         Height = 15
  260.         Caption = 'Click this button to build the demo security table'
  261.       end
  262.       object Label3: TLabel
  263.         Left = 8
  264.         Top = 88
  265.         Width = 178
  266.         Height = 15
  267.         Caption = 'Try logging on as a different user'
  268.       end
  269.       object Label4: TLabel
  270.         Left = 336
  271.         Top = 88
  272.         Width = 176
  273.         Height = 15
  274.         Caption = 'Change the PIN for your account'
  275.       end
  276.       object Label5: TLabel
  277.         Left = 112
  278.         Top = 216
  279.         Width = 265
  280.         Height = 15
  281.         Caption = 'Explore the Administrators Maintenance Interface'
  282.       end
  283.       object LogOnBtn: TButton
  284.         Left = 56
  285.         Top = 112
  286.         Width = 89
  287.         Height = 33
  288.         Caption = '&LogOn'
  289.         TabOrder = 0
  290.         OnClick = LogOnBtnClick
  291.       end
  292.       object MaintenanceBtn: TButton
  293.         Left = 208
  294.         Top = 240
  295.         Width = 113
  296.         Height = 33
  297.         Caption = '&Maintenance'
  298.         TabOrder = 1
  299.         OnClick = MaintenanceBtnClick
  300.       end
  301.       object PINBtn: TButton
  302.         Left = 400
  303.         Top = 112
  304.         Width = 89
  305.         Height = 33
  306.         Caption = '&PIN Change'
  307.         TabOrder = 2
  308.         OnClick = PINBtnClick
  309.       end
  310.       object BuildBtn: TButton
  311.         Left = 208
  312.         Top = 40
  313.         Width = 129
  314.         Height = 33
  315.         Caption = '&BuildObjects'
  316.         TabOrder = 3
  317.         OnClick = BuildBtnClick
  318.       end
  319.     end
  320.     object TTabPage
  321.       Left = 5
  322.       Top = 26
  323.       Caption = 'Test Security'
  324.       object Label6: TLabel
  325.         Left = 56
  326.         Top = 16
  327.         Width = 427
  328.         Height = 30
  329.         Caption = 
  330.           'Try logging on as different users and see the various permission' +
  331.           's you can have and how these effect your ability to access the o' +
  332.           'bjects below. '
  333.         WordWrap = True
  334.       end
  335.       object Label7: TLabel
  336.         Left = 56
  337.         Top = 72
  338.         Width = 393
  339.         Height = 30
  340.         Caption = 
  341.           'You can use the Maintenance Interface to change permissions and ' +
  342.           'group memberships'
  343.         WordWrap = True
  344.       end
  345.       object Label8: TLabel
  346.         Left = 368
  347.         Top = 224
  348.         Width = 158
  349.         Height = 45
  350.         Alignment = taCenter
  351.         Caption = 
  352.           'This object requires Modify Permission before access will be gra' +
  353.           'nted.'
  354.         Font.Color = clBlue
  355.         Font.Height = -13
  356.         Font.Name = 'Times New Roman'
  357.         Font.Style = []
  358.         ParentFont = False
  359.         WordWrap = True
  360.       end
  361.       object Label9: TLabel
  362.         Left = 184
  363.         Top = 224
  364.         Width = 152
  365.         Height = 60
  366.         Alignment = taCenter
  367.         Caption = 
  368.           'This object requires Modify permissions but it doesnt exist in t' +
  369.           'he security db it so can'#39't be accessesd'
  370.         Font.Color = clBlue
  371.         Font.Height = -13
  372.         Font.Name = 'Times New Roman'
  373.         Font.Style = []
  374.         ParentFont = False
  375.         WordWrap = True
  376.       end
  377.       object Label10: TLabel
  378.         Left = 16
  379.         Top = 224
  380.         Width = 135
  381.         Height = 30
  382.         Alignment = taCenter
  383.         Caption = 'This object requires read permissions'
  384.         Font.Color = clBlue
  385.         Font.Height = -13
  386.         Font.Name = 'Times New Roman'
  387.         Font.Style = []
  388.         ParentFont = False
  389.         WordWrap = True
  390.       end
  391.       object Label11: TLabel
  392.         Left = 120
  393.         Top = 112
  394.         Width = 307
  395.         Height = 15
  396.         Caption = 'This requires all permissions upto and including Approve'
  397.         Font.Color = clBlue
  398.         Font.Height = -13
  399.         Font.Name = 'Times New Roman'
  400.         Font.Style = []
  401.         ParentFont = False
  402.       end
  403.       object Form1Btn: TButton
  404.         Left = 176
  405.         Top = 129
  406.         Width = 177
  407.         Height = 33
  408.         Caption = '&Check Permission Form1'
  409.         TabOrder = 0
  410.         OnClick = Form1BtnClick
  411.       end
  412.       object Form2Btn: TButton
  413.         Left = 48
  414.         Top = 185
  415.         Width = 89
  416.         Height = 33
  417.         Caption = 'Form2'
  418.         TabOrder = 1
  419.         OnClick = Form2BtnClick
  420.       end
  421.       object Form3Btn: TButton
  422.         Left = 216
  423.         Top = 185
  424.         Width = 89
  425.         Height = 33
  426.         Caption = 'Form3'
  427.         TabOrder = 2
  428.         OnClick = Form3BtnClick
  429.       end
  430.       object Form4Btn: TButton
  431.         Left = 408
  432.         Top = 185
  433.         Width = 89
  434.         Height = 33
  435.         Caption = 'Form4'
  436.         TabOrder = 3
  437.         OnClick = Form4BtnClick
  438.       end
  439.       object Button1: TButton
  440.         Left = 184
  441.         Top = 56
  442.         Width = 161
  443.         Height = 17
  444.         Caption = '&LogOn'
  445.         TabOrder = 4
  446.         OnClick = LogOnBtnClick
  447.       end
  448.     end
  449.     object TTabPage
  450.       Left = 5
  451.       Top = 26
  452.       Caption = 'Log'
  453.       object Label18: TLabel
  454.         Left = 72
  455.         Top = 8
  456.         Width = 421
  457.         Height = 15
  458.         Caption = 
  459.           'Check out the demo source code to see how we can continually upd' +
  460.           'ate this log'
  461.       end
  462.       object Label19: TLabel
  463.         Left = 96
  464.         Top = 72
  465.         Width = 381
  466.         Height = 15
  467.         Caption = 
  468.           'When relevant the  Field Info2 will show the actual permissions ' +
  469.           'granted'
  470.       end
  471.       object Label20: TLabel
  472.         Left = 120
  473.         Top = 48
  474.         Width = 326
  475.         Height = 15
  476.         Caption = 'The Field Info contains the OID of the Object being accessed'
  477.       end
  478.       object DBGrid1: TDBGrid
  479.         Left = 8
  480.         Top = 104
  481.         Width = 545
  482.         Height = 201
  483.         DataSource = DataSource1
  484.         Font.Color = clBlack
  485.         Font.Height = -13
  486.         Font.Name = 'Times New Roman'
  487.         Font.Style = []
  488.         ParentFont = False
  489.         TabOrder = 0
  490.         TitleFont.Color = clBlack
  491.         TitleFont.Height = -13
  492.         TitleFont.Name = 'Times New Roman'
  493.         TitleFont.Style = []
  494.       end
  495.     end
  496.   end
  497.   object Panel1: TPanel
  498.     Left = 0
  499.     Top = 350
  500.     Width = 570
  501.     Height = 26
  502.     Align = alBottom
  503.     Alignment = taRightJustify
  504.     Caption = 'Panel1'
  505.     TabOrder = 1
  506.     object CurrentUser: TLabel
  507.       Left = 8
  508.       Top = 5
  509.       Width = 86
  510.       Height = 16
  511.       Caption = 'CurrentUser'
  512.     end
  513.   end
  514.   object VSSecurity1: TDACManager
  515.     Active = True
  516.     DatabaseName = 'DACM'
  517.     Exclusive = True
  518.     TableName = 'VSEC.DB'
  519.     AdminPIN = '****'
  520.     AdminName = 'Administrator'
  521.     IsSQLBased = False
  522.     Password = 'MIKE'
  523.     MinPINLength = 0
  524.     Key = 0
  525.     PINValidPeriod = 30
  526.     AdminPINChange = False
  527.     OnBuildDAO = VSSecurity1BuildDAO
  528.     OnSecurityEvent = VSSecurity1DACMEvent
  529.     Left = 16
  530.     Top = 16
  531.   end
  532.   object SecurityObject1: TSecurityObject
  533.     ObjectSID = 'Form1'
  534.     OnPermissions = SecurityObject1Permissions
  535.     Left = 16
  536.     Top = 56
  537.   end
  538.   object SecurityLog: TTable
  539.     Active = True
  540.     DatabaseName = 'DACM'
  541.     TableName = 'SECLOG.DB'
  542.     Left = 53
  543.     Top = 109
  544.   end
  545.   object DataSource1: TDataSource
  546.     DataSet = SecurityLog
  547.     Left = 53
  548.     Top = 149
  549.   end
  550. end
  551.